#pragma once
#include "stdafx.h"
#include "TriggerListener.h"
#include "Objective.h"

namespace _MODULE_
{
	namespace _GAME_
	{
		class GameSimulator :
			public _MODULE_::_GAME_::TriggerListener
		{
		public:
			GameSimulator(void);
			~GameSimulator(void);


			/**
				Process ColideInformation recieved from physics module.
			*/
			void ProcessColide();

			bool CheckGameEnd();

			void Update(float elapsedtime);


		protected:

			_P_GAME::Objective* m_ptrMasterObjective;
		private:
			float m_fGameEndCheckTImer;
		};
	}
}
